<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php wp_title('&laquo;', true, 'right'); ?> <?php bloginfo('name'); ?></title>

<meta charset="<?php bloginfo( 'charset' ); ?>" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/css/ddsmoothmenu.css" type="text/css" />

<script type="text/javascript" language="javascript" src="<?php bloginfo('template_directory'); ?>/js/jquery-1.7.1.min.js"></script>
<script type="text/javascript" language="javascript" src="<?php bloginfo('template_directory'); ?>/js/jquery.carouFredSel-6.0.4-packed.js"></script>
<script type="text/javascript" language="javascript" src="<?php bloginfo('template_directory'); ?>/js/ddsmoothmenu.js"></script>

<?php if(is_home()): ?>
<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/css/nivo-slider.css" type="text/css" />
<script type="text/javascript" language="javascript" src="<?php bloginfo('template_directory'); ?>/js/jquery.nivo.slider.pack.js"></script>
<?php endif; ?>

<script type="text/javascript" language="javascript" src="<?php bloginfo('template_directory'); ?>/js/jquery-func.js" type="text/javascript"></script>

<script type="text/javascript">
    $(document).ready(function(){
        ddsmoothmenu.init({
            mainmenuid: "mainmenu", //menu DIV id
            orientation: 'h', //Horizontal or vertical menu: Set to "h" or "v"
            classname: 'ddsmoothmenu', //class added to menu's outer DIV
            //customtheme: ["#1c5a80", "#18374a"],
            contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"]
        });
    });
</script>
<?php
	wp_head();
?>
</head>

<body>
<div id="wraper">
<div id="page">
    <div id="top">
        <div class="cl">&nbsp;</div>
        <!--LOGO-->
        <h1 id="logo"><a href="#">&nbsp;</a></h1>
        <div class="cl">&nbsp;</div>
        <!--MENU MAIN-->
        <?php if ( function_exists( 'wp_nav_menu' ) ){
            wp_nav_menu( array( 'theme_location' => 'main-menu', 'container_id' => 'mainmenu', 'container_class' => 'ddsmoothmenu', 'fallback_cb'=>'primarymenu') );
        }
        ?>

        <div class="cl">&nbsp;</div>

    </div>
    <!-- END Logo + Search + Navigation -->
